package com.liulu.window.insets

import androidx.annotation.IntDef

@IntDef(
    BarType.NORMAL,
    BarType.ALL,
    BarType.STATUS,
    BarType.NAVIGATION
)
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.SOURCE)
@MustBeDocumented
annotation class BarType {
    companion object {
        /**
         * 不沉浸式
         */
        const val NORMAL: Int = 0

        /**
         * 沉浸式 -> 状态栏 + 导航栏
         */
        const val ALL: Int = 1

        /**
         * 沉浸式 -> 状态栏
         */
        const val STATUS: Int = 2

        /**
         * 沉浸式 -> 导航栏
         */
        const val NAVIGATION: Int = 3
    }
}
